package com.cfgj.entity;

public class Projects {
    private Integer id;
    private Integer userid; //发起人编号
    private String  username;//发起人姓名
    private double  usermoney;//发起人金额
    private String  projectname;//项目名称
    private double  projectmoney;//项目金额
    private double  projectrateofreturn;//项目回报率
    private double  projectmonthlyreturn;//项目月还款
    private double  projectborrowtime;//项目借款期限
    private double  projectschedule;//项目进度
    private Integer returnednum;//还款期数

    public Projects(Integer id, Integer userid, String username, double usermoney, String projectname, double projectmoney, double projectrateofreturn, double projectmonthlyreturn, double projectborrowtime, double projectschedule, Integer returnednum) {
        this.id = id;
        this.userid = userid;
        this.username = username;
        this.usermoney = usermoney;
        this.projectname = projectname;
        this.projectmoney = projectmoney;
        this.projectrateofreturn = projectrateofreturn;
        this.projectmonthlyreturn = projectmonthlyreturn;
        this.projectborrowtime = projectborrowtime;
        this.projectschedule = projectschedule;
        this.returnednum = returnednum;
    }

    public Projects() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public double getUsermoney() {
        return usermoney;
    }

    public void setUsermoney(double usermoney) {
        this.usermoney = usermoney;
    }

    public String getProjectname() {
        return projectname;
    }

    public void setProjectname(String projectname) {
        this.projectname = projectname;
    }

    public double getProjectmoney() {
        return projectmoney;
    }

    public void setProjectmoney(double projectmoney) {
        this.projectmoney = projectmoney;
    }

    public double getProjectrateofreturn() {
        return projectrateofreturn;
    }

    public void setProjectrateofreturn(double projectrateofreturn) {
        this.projectrateofreturn = projectrateofreturn;
    }

    public double getProjectmonthlyreturn() {
        return projectmonthlyreturn;
    }

    public void setProjectmonthlyreturn(double projectmonthlyreturn) {
        this.projectmonthlyreturn = projectmonthlyreturn;
    }

    public double getProjectborrowtime() {
        return projectborrowtime;
    }

    public void setProjectborrowtime(double projectborrowtime) {
        this.projectborrowtime = projectborrowtime;
    }

    public double getProjectschedule() {
        return projectschedule;
    }

    public void setProjectschedule(double projectschedule) {
        this.projectschedule = projectschedule;
    }

    public Integer getReturnednum() {
        return returnednum;
    }

    public void setReturnednum(Integer returnednum) {
        this.returnednum = returnednum;
    }

    @Override
    public String toString() {
        return "Projects{" +
                "id=" + id +
                ", userid=" + userid +
                ", username='" + username + '\'' +
                ", usermoney=" + usermoney +
                ", projectname='" + projectname + '\'' +
                ", projectmoney=" + projectmoney +
                ", projectrateofreturn=" + projectrateofreturn +
                ", projectmonthlyreturn=" + projectmonthlyreturn +
                ", projectborrowtime=" + projectborrowtime +
                ", projectschedule=" + projectschedule +
                ", returnednum=" + returnednum +
                '}';
    }
}
